package com.niuwa.p2p.vo.customer;

import java.math.BigDecimal;

/**
 * 投资用户信息
 * @author cuijiajia
 *
 */
public class BaseInvestVo {
	
	/**
	 * 客户ID
	 */
	private long custId;
	
	/** 姓名
     * 
     */
    private String custName;
	
	/** 昵称
     * 
     */
    private String nickName;
    
    /** 登录名
     * 
     */
    private String loginName;
    
    /** 性别
     * 
     */
    private String sex;
    /**
     * 注册设备
     */
    private String regDevice;
    /** 年龄
     * 
     */
    private short age;
    
    /** 手机号码
     * 
     */
    private String tel;
	
	/**
	 * 账户状态
	 */
    private String accountStatus;
	
	/** 注册来源
     * 
     */
    private String regSource;
    
    /** 累投金额
     * 
     */
    private BigDecimal inverstAmount;
    /** 累投次数
     * 
     */
    private int inverstCount;
    /** 首投时间
     * 
     */
    private String firstInverstTime;
    
    /** 最近一次投资时间
     * 
     */
    private String lastInverstTime;
    
    /**
     * 注册时间
     */
    private String createTime;
    
    /** 开户时间
     * 
     */
    private String openTime;
    
    /** 是否投资
     * 
     */
    private char investFlg;

    /** 总累投金额
     * 
     */
    private BigDecimal inverstAmountSum;
    
    /** 总累投次数
     * 
     */
    private int inverstCountSum;
    
    /** 资金开户用户数
     */
    private int accountCount;
    
    /** 投资数
     */
    private int investCount;
    
	public BaseInvestVo(long custId, String custName, String nickName,
			String loginName, String sex, short age, String tel,
			String accountStatus, String regSource, BigDecimal inverstAmount,
			int inverstCount, String firstInverstTime, String lastInverstTime,
			String createTime, String openTime, char investFlg) {
		super();
		this.custId = custId;
		this.custName = custName;
		this.nickName = nickName;
		this.loginName = loginName;
		this.sex = sex;
		this.age = age;
		this.tel = tel;
		this.accountStatus = accountStatus;
		this.regSource = regSource;
		this.inverstAmount = inverstAmount;
		this.inverstCount = inverstCount;
		this.firstInverstTime = firstInverstTime;
		this.lastInverstTime = lastInverstTime;
		this.createTime = createTime;
		this.openTime = openTime;
		this.investFlg = investFlg;
	}
	

	public String getRegDevice() {
		return regDevice;
	}


	public void setRegDevice(String regDevice) {
		this.regDevice = regDevice;
	}


	public char getInvestFlg() {
		return investFlg;
	}


	public void setInvestFlg(char investFlg) {
		this.investFlg = investFlg;
	}


	public String getFirstInverstTime() {
		if("0000-0-00 12:00:00".equals(firstInverstTime)){
			firstInverstTime = "";
		}
		return firstInverstTime;
	}

	public void setFirstInverstTime(String firstInverstTime) {
		this.firstInverstTime = firstInverstTime;
	}

	public String getLastInverstTime() {
		if("0000-0-00 12:00:00".equals(lastInverstTime)){
			lastInverstTime = "";
		}
		return lastInverstTime;
	}

	public void setLastInverstTime(String lastInverstTime) {
		this.lastInverstTime = lastInverstTime;
	}

	public String getCreateTime() {
		if("0000-0-00 12:00:00".equals(createTime)){
			createTime = "";
		}
		return createTime;
	}

	public void setCreateTime(String createTime) {
		this.createTime = createTime;
	}

	public String getOpenTime() {
		if("0000-0-00 12:00:00".equals(openTime)){
			openTime = "";
		}
		return openTime;
	}

	public void setOpenTime(String openTime) {
		this.openTime = openTime;
	}

	public BaseInvestVo() {
		
	}

	public long getCustId() {
		return custId;
	}

	public void setCustId(long custId) {
		this.custId = custId;
	}

	public String getCustName() {
		return custName;
	}

	public void setCustName(String custName) {
		this.custName = custName;
	}

	public String getNickName() {
		return nickName;
	}

	public void setNickName(String nickName) {
		this.nickName = nickName;
	}

	public String getLoginName() {
		return loginName;
	}

	public void setLoginName(String loginName) {
		this.loginName = loginName;
	}

	public String getSex() {
		return sex;
	}

	public void setSex(String sex) {
		this.sex = sex;
	}

	public short getAge() {
		return age;
	}

	public void setAge(short age) {
		this.age = age;
	}

	public String getTel() {
		return tel;
	}

	public void setTel(String tel) {
		this.tel = tel;
	}

	public String getAccountStatus() {
		return accountStatus;
	}

	public void setAccountStatus(String accountStatus) {
		this.accountStatus = accountStatus;
	}

	public String getRegSource() {
		return regSource;
	}

	public void setRegSource(String regSource) {
		this.regSource = regSource;
	}

	public BigDecimal getInverstAmount() {
		return inverstAmount;
	}

	public void setInverstAmount(BigDecimal inverstAmount) {
		this.inverstAmount = inverstAmount;
	}

	public int getInverstCount() {
		return inverstCount;
	}

	public void setInverstCount(int inverstCount) {
		this.inverstCount = inverstCount;
	}


	public BigDecimal getInverstAmountSum() {
		return inverstAmountSum;
	}


	public void setInverstAmountSum(BigDecimal inverstAmountSum) {
		this.inverstAmountSum = inverstAmountSum;
	}


	public int getInverstCountSum() {
		return inverstCountSum;
	}


	public void setInverstCountSum(int inverstCountSum) {
		this.inverstCountSum = inverstCountSum;
	}


	public int getAccountCount() {
		return accountCount;
	}


	public void setAccountCount(int accountCount) {
		this.accountCount = accountCount;
	}


	public int getInvestCount() {
		return investCount;
	}


	public void setInvestCount(int investCount) {
		this.investCount = investCount;
	}
	
	
}
